import request from '@/config/axios'
/**
 * 分页查询用药登记
 */
export const pageQuery = (params) => {
  return request.get({ url: '/health/medicine-register/page-query', params })
}

/**
 * 计划用药登记
 */
export const planCreate = (data) => {
  return request.post({ url: '/health/medicine-register/plan-create', data })
}

/**
 * 临时用药登记
 */
export const temporaryCreate = (data) => {
  return request.post({ url: '/health/medicine-register/temporary-create', data })
}
